extends Node2D

var reward_unlocked = false
var score_for_reward = 5

func _input(event):
	if event.is_action_pressed("reward"):
		if reward_unlocked:
			$SOUND_REWARD.play()


func unlock_reward():
	reward_unlocked = true
	$REWARD_LABEL.unlock()

func _ready():
	pass # Replace with function body.
